import type { AppRouteModule } from '/@/router/types'

import { LAYOUT } from '/@/router/constant'

const category: AppRouteModule = {
    path: '/category',
    name: 'Category',
    component: LAYOUT,
    redirect: '/category/list',
    meta: {
        icon: 'noto-unicorn',
        title: '分类管理',
    },
    children: [
        {
            path: 'list',
            name: 'Category',
            component: () => import('/@/views/category/list.vue'),
            meta: {
                title: '分类列表',
                icon: 'noto-unicorn',
            },
        },
    ],
}

export default category
